home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Graphics / Misc / Wood.0.72 / Sources / WoodDoc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-08-02  |  1.2 KB  |  53 lines

  1.  
  2. #import <appkit/Responder.h>
  3.  
  4. #import "Tree.h"
  5.  
  6. extern Window *createWindowFor(View *view, NXRect *windowContentRect, const char *frameString);
  7.  
  8. @interface WoodDoc : Object 
  9.     id         window;                // the window the View is in 
  10.     id         printInfo;            // Print Margins etc. 
  11.     char     *name;                // the name of the document 
  12.     char     *directory;            // the directory it is in 
  13.     BOOL     haveSavedDocument;    // whether document has associated disk file 
  14.     BOOL    dirty;                // Whether or not the document needs saving 
  15.     BOOL    empty;                // is the document empty? 
  16.     int     tag;                // a unique tag across the application
  17.     BOOL    textViewSaved;
  18.     id doubleView;
  19.     id textView;
  20.     id treeView;
  21.     id scrollView;
  22.     id tree;
  23.     id nodeText;
  24.     id lastSelectedNode;
  25.     Properties defaultProps;
  26.     float docScale;
  27.     BOOL showMarker;
  28.     id undoManager;
  29.     id findSelectedNode;
  30.     int findPos, findSize;
  31.     BOOL    isOOEServer;
  32.     id        theOOEClient;
  33.     char    *theOOEClientPath;
  34.     id saveToAccessoryWindow;
  35.     id saveToAccessoryControl;
  36. }
  37.  
  38. - window;
  39. - (Properties *)defaultProps;
  40. - textDidChange:sender;
  41. - window;
  42. - printInfo;
  43. - (BOOL)isEmpty;
  44. - setEmpty:(BOOL)flag;
  45. - (BOOL)hasSavedDocument;
  46. - setSavedDocument:(BOOL)flag;
  47. - (BOOL)needsSaving;
  48. - dirty:(BOOL)flag;
  49. - (int)tag;
  50.  
  51. @end
  52.